import React, {useContext} from 'react'
import {ColorContext} from './color'

export default function Show() {
  const {color} = useContext(ColorContext)
  return (
    <div>
      <p style={{color}}>字体颜色为{color}</p>
    </div>
  )
}
